package com.itheima.book.manager.controller;

import com.itheima.book.manager.domain.Book;
import com.itheima.book.manager.service.BookService;

import java.util.Scanner;

public class BookController extends BaseBookController{

    public void start(){
        while (true){
            printView();
            useSelect();
        }

    }

    public void printView(){
        System.out.println("--------itcast图书管理系统--------");
        System.out.println("1: 添加图书");
        System.out.println("2: 删除图书");
        System.out.println("3: 修改图书");
        System.out.println("4: 查询图书");
        System.out.println("5: 退出");
    }
}


